#!/bin/sh
module_name=$1
if [ "${module_name}" == "" ]; then
    echo "* module name is required,eg: ./build.sh grape "
    exit 0
fi
java -jar mybatis-generator-core-1.3.7.jar -configfile ${module_name}-config.xml  -overwrite
